package com.kgc.travel.mapper;

import com.kgc.travel.pojo.EduStudyActivity;
import com.kgc.travel.pojo.EduStudyActivityExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EduStudyActivityMapper {
    int countByExample(EduStudyActivityExample example);

    int deleteByExample(EduStudyActivityExample example);

    int deleteByPrimaryKey(Integer activityId);

    int insert(EduStudyActivity record);

    int insertSelective(EduStudyActivity record);

    List<EduStudyActivity> selectByExample(EduStudyActivityExample example);

    EduStudyActivity selectByPrimaryKey(Integer activityId);

    int updateByExampleSelective(@Param("record") EduStudyActivity record, @Param("example") EduStudyActivityExample example);

    int updateByExample(@Param("record") EduStudyActivity record, @Param("example") EduStudyActivityExample example);

    int updateByPrimaryKeySelective(EduStudyActivity record);

    int updateByPrimaryKey(EduStudyActivity record);
}